home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1995 May / cd Ware (Juegos) Epimundo.iso / WIN / UT_SYSTM / WDBBS.ZIP / README.OS2 < prev    next >
Encoding:
Text File  |  1994-09-13  |  6.3 KB  |  200 lines

  1.     WDCIDEOS.ADD DMA Driver for OS/2 2.1 
  2.     ====================================
  3.  
  4. Driver Name: WDCIDEOS.ADD
  5.  
  6. Version    : 1.01
  7.  
  8. OS         : OS/2 2.1
  9.  
  10. Date       : 10/05/93
  11.  
  12.  
  13. DESCRIPTION
  14. ============
  15.  
  16. WDCIDEOS.ADD is a hard disk driver for use under OS/2 2.1. Its main 
  17. benefit is its ability to transfer data from the hard disk in either 
  18. a Block Mode PIO fashion, EISA type 'B' DMA fashion, or PCI type 'F' 
  19. fashion.
  20.  
  21. Block Mode PIO is a means of transferring multiple sectors at a time
  22. between the host and hard disk as opposed to transferring one sector
  23. at a time. Normally in an AT compatible machine a hardware interrupt
  24. occurs for each sector transferred to/from the hard disk. Under Block
  25. Mode PIO one interrupt will occur for a block of sectors. The number
  26. of sectors that are to be transferred per interrupt is programmable by
  27. the host and is referred to as the blocking factor. The default blocking
  28. factor used equals the maximum blocking factor supported that is reported
  29. by the drive on an Identify Drive command.
  30.  
  31. Transferring data via Block Mode PIO increases throughput by eliminating
  32. the inter-sector overhead associated with each sector. This is most
  33. beneficial when the hard disk is transferring data out of its cache. 
  34. Block Mode data transfers are enabled by default.
  35.  
  36. This driver also supports EISA type 'B' DMA transfers for drives that
  37. support this feature and are installed in an EISA system. Data is
  38. transferred at a rate of 4 MB/sec which is about double that of a
  39. 6 MHz AT. The standard Read DMA and Write DMA commands as described in
  40. the CAM ATA specification are used.
  41.  
  42. Furthermore, type 'F' DMA is supported in PCI based systems. Data is
  43. transferred at a rate of between 6 and 8 MB/sec using type 'F' DMA.
  44. The same Read DMA and Write DMA op codes are used, the only difference
  45. is in the programming of the DMA controller on the motherboard.
  46.  
  47. Transferring drive data via DMA allows the host CPU to work on other tasks
  48. while hard disk data transfers are taking place. This increases the
  49. overall CPU bandwidth which is critical in multi-tasking environments.
  50.  
  51. This driver only runs Block Mode PIO and DMA on Western Digital drives.
  52. To use the DMA feature the drive must be installed in an EISA or PCI 
  53. system and the DMARQ and DMACK- signals on the the 40 pin cable must be 
  54. connected to the proper DMA request and acknowledge signals on the EISA 
  55. or ISA bus.
  56.  
  57. This driver automatically supports Logical Block Addressing (LBA) on 
  58. drives that support this feature. 
  59.  
  60.  
  61. Features:
  62. ========
  63.     1. Two Adapters - primary and secondary addresses
  64.     2. DMA Transfers for WDC drive only
  65.     3. DMA Channel 3, 5, 6, OR 7
  66.     4. LBA Mode if drive supports it
  67.     5. Block Mode PIO for WDC drives by default
  68.     6. Scatter Gather in DMA Mode 
  69.     7. Auto DMA type detect
  70.  
  71. Each driver instance can support two IDE adapters / cables.  This driver
  72. assumes the following defaults when no command line switches are used to
  73. change them:
  74.  
  75.     Defaults: 
  76.     1. Primary adapter at Port 1F0h, IRQ 14, DMA disabled
  77.     2. Secondary adapter at Port 170H, IRQ 15, DMA disabled
  78.  
  79. Followings are Defaults for WDC Caviar Drives:
  80.  
  81.     1. Block Mode PIO
  82.     2. LBA Mode if drive supports it
  83.  
  84.  
  85. Installation instructions:
  86. =========================
  87.  
  88.     Copy wdcide.add in C:\OS2 directory.
  89.     
  90.  
  91.     In Config.sys file:
  92.  
  93.        Replace 
  94.  
  95.         BASEDEV=IBM1S506.ADD
  96.  
  97.        with
  98.  
  99.         BASEDEV=WDCIDE.ADD /A:0 /DT:F /DC:6 /A:1 /DT:B /DC:7
  100.  
  101.         In this example, drives conncted on Primary port will 
  102.         use DMA Channel 6 & DMA Type F and drives connected on 
  103.         Secondary port will use DMA Channel 7 & DMA Type B provided
  104.         the IDE adapters are configured at the proper DMA channels.
  105.         Otherwise system will hang.
  106.  
  107.  
  108.     Command Line Switches:
  109.  
  110.     1. Adapter number:
  111.     
  112.         /A:0 OR 1               // Adapter 0 or 1
  113.  
  114.  
  115.     2. DMA channel:
  116.         
  117.         /DC:6 OR 7 OR 5 OR 3    // DMA Channel 3, 5, 6, OR 7
  118.  
  119.        This switch is required to enable DMA transfers.  Each adapter
  120.        will require its own DMA channel assignment.  When using
  121.        Channel 3, make sure it is set up to run in 16 bit mode.
  122.  
  123.  
  124.     3. DMA type:
  125.  
  126.         /DT:F OR B              // DMA Type F OR B transfers
  127.  
  128.        This switch is optional.  When this switch is omitted the 
  129.        driver will auto detect the machine type.  Type 'B' will be 
  130.        used for EISA platforms and type 'F' for PCI/ISA based systems.
  131.     
  132.     
  133.     4. DMA scatter gather:
  134.  
  135.            /DSGP:400                // DMA Scatter Gather Base port
  136.  
  137.        This driver automatically turns on the Scatter Gather function on 
  138.        PCI/EISA systems and defaults to 400H base port.  For PCI/ISA
  139.        systems, this function is not enabled automatically.  For these
  140.        systems, you will need to use this switch and provide the correct
  141.        base port address to enable the Scatter Gather function.  Unless
  142.        you are certain that Scatter Gather function is properly supported
  143.        in the PCI H/W, do not turn on this option as it will either hang 
  144.        the system or will currupt the data.
  145.  
  146.  
  147.     5. DMA scatter gather disable:
  148.  
  149.         /!DSG
  150.  
  151.        Because this driver automatically does Scatter Gather on PCI/EISA 
  152.        systems, this switch will allow you to disable the function on these
  153.        systems.
  154.  
  155.  
  156.     6. Verbose mode:
  157.  
  158.         /V
  159.  
  160.        This displays controller status and drive geometry information
  161.        as well as drive transfer modes during OS/2 initialization at
  162.        up time.
  163.  
  164.  
  165.     7. Base port address:
  166.  
  167.         /P:120  or  /PORT:120
  168.  
  169.        Overrides the default base port address for this adapter.
  170.        Ports assigned in this case would be (120-127) and (326).
  171.        The default port addresses for Adapter 0 is (1F0) and for
  172.        Adapter 1 is (170).
  173.  
  174.  
  175.     8. Interrupt number: (dec)
  176.  
  177.         /IRQ:11
  178.  
  179.        Overrides the default IRQ number for this adapter.  The
  180.        default IRQ address for Adapter 0 is 14 and for Adapter 1
  181.        is 15.
  182.  
  183.       
  184.  
  185. Notes:
  186.  
  187.        1. It is very important to note that "/DC" and "/DT" Switch must be 
  188.       after "/A" switch as "/A" switch defines which adapter will have
  189.       given DMA channel and DMA type.
  190.  
  191.        2. Both of the following switches must be used as a group.
  192.  
  193.       For Example:
  194.  
  195.         BASEDEV = WDCIDEOS.ADD /A:1 /DC:6 
  196.     
  197.         Driver will assume that No DMA should be used on Primary 
  198.         Port and DMA Channel 6 with DMA Type F Should be used for 
  199.         secondary Port.
  200.